package com.niit.springbootshop.dao;

import com.niit.springbootshop.entity.Category;

import java.util.List;

public interface CategoryDao {
    int deleteByPrimaryKey(Integer cid);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category> getAll();
}